package cn.iocoder.yudao.module.erp.dal.dataobject.finance.bankstatement;

import cn.iocoder.yudao.framework.mybatis.core.dataobject.BaseDO;
import lombok.*;
import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.*;


/**
 * 银行流水 DO
 * @author 天使管理员
 */
@TableName("erp_bank_statement")
@KeySequence("erp_bank_statement_seq") // 用于 Oracle、PostgreSQL、Kingbase、DB2、H2 数据库的主键自增。如果是 MySQL 等数据库，可不写。
@Data
@EqualsAndHashCode
@ToString(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class BankStatementDO extends BaseDO {
    /**
     * 卡号
     */
    @TableId(type = IdType.INPUT)
    private String id;
    /**
     * id别名
     */
    @TableField(exist = false)
    private String fleet;
    /**
     * 初始金额
     */
    private Double initAmount;
    /**
     * 摘要
     */
    private String remark;
    /**
     * 当日收款
     */
    private Double dayPayment;
    /**
     * 当日支出
     */
    private Double dailyExpenses;
    /**
     * 记录日期
     */
    private String recordDate;
    /**
     * 当日余额
     */
    private Double dailyBalance;
    /**
     * 币种 1人民币 2美元 3坚戈
     */
    private Integer currencyType;
    /**
     * 创建时间
     */
    private LocalDateTime createTime;
    /**
     * 当日收款总计
     */
    @TableField(exist = false)
    private Double dayPaymentSum;
    /**
     * 当日支出总计
     */
    @TableField(exist = false)
    private Double dailyExpensesSum;
    /**
     * 当日余额总计
     */
    @TableField(exist = false)
    private Double dailyBalanceSum;
    /**
     * 当日收款总计
     */
    @TableField(exist = false)
    private Double dayPaymentRmbSum;
    /**
     * 当日支出总计
     */
    @TableField(exist = false)
    private Double dailyExpensesRmbSum;
    /**
     * 当日余额总计
     */
    @TableField(exist = false)
    private Double dailyBalanceRmbSum;

    /**
     * 当日收款总计
     */
    @TableField(exist = false)
    private Double dayPaymentDollarSum;
    /**
     * 当日支出总计
     */
    @TableField(exist = false)
    private Double dailyExpensesDollarSum;
    /**
     * 当日余额总计
     */
    @TableField(exist = false)
    private Double dailyBalanceDollarSum;

    /**
     * 当日收款总计
     */
    @TableField(exist = false)
    private Double dayPaymentTengeSum;
    /**
     * 当日支出总计
     */
    @TableField(exist = false)
    private Double dailyExpensesTengeSum;
    /**
     * 当日余额总计
     */
    @TableField(exist = false)
    private Double dailyBalanceTengeSum;

    /**
     * 当日收款总计
     */
    @TableField(exist = false)
    private Double dayPaymentRubleSum;
    /**
     * 当日支出总计
     */
    @TableField(exist = false)
    private Double dailyExpensesRubleSum;
    /**
     * 当日余额总计
     */
    @TableField(exist = false)
    private Double dailyBalanceRubleSum;
    /**
     * 当日余额
     */
    @TableField(exist = false)
    private Double balance;
}